package chapter04;

import java.util.Scanner;

/**
 * 字符串大小写转换
 * Created by a on 2017/6/9.
 */
public class Test064 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入字符");
        String str = scanner.nextLine();
        System.out.println("字符串都大写了:");
        System.out.println(str.toUpperCase());
        System.out.println("字符串都小写了:");
        System.out.println(str.toLowerCase());
        System.out.println(str);
    }
}
